{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/xpmiki/Dropbox/esaiasson/replicationData/e16.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res} 9 Sep 2016, 11:27:45
{txt}
{com}. clear 
{txt}
{com}. set more off
{txt}
{com}. use "charity field voice expert.dta"
{txt}
{com}. 
. ren diskussion t
{res}{txt}
{com}. keep if beslutsform == 0
{txt}(96 observations deleted)

{com}. 
. 
. set seed  358395
{txt}
{com}. sem (d <-  t  wl p)(p <-  t  wl)   , vce(cluster klassnummer)
{res}{txt}(1 observations with missing values excluded)

Endogenous variables

{p 0 11 2}Observed:{space 2}{res}d p{p_end}
{txt}
Exogenous variables

{p 0 11 2}Observed:{space 2}{res}t wl{p_end}
{txt}
Fitting target model:

Iteration 0:{space 3}log pseudolikelihood = {res:-171.36369}  
Iteration 1:{space 3}log pseudolikelihood = {res:-171.36369}  

Structural equation model{col 49}Number of obs{col 67}= {res}       118
{col 1}{txt}Estimation method{col 20}= {res}ml
{col 1}{txt}Log pseudolikelihood{col 20}= {res}-171.36369

{txt}{ralign 78:(Std. Err. adjusted for {res:6} clusters in klassnummer)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}{res}Structural  {col 14}{txt}{c |}
{space 2}{col 3}d <-      {col 14}{c |}
{space 11}p {c |}{col 14}{res}{space 2} .2661396{col 26}{space 2} .0901982{col 37}{space 1}    2.95{col 46}{space 3}0.003{col 54}{space 4} .0893543{col 67}{space 3} .4429249
{txt}{space 11}t {c |}{col 14}{res}{space 2}-.0296386{col 26}{space 2} .0597333{col 37}{space 1}   -0.50{col 46}{space 3}0.620{col 54}{space 4}-.1467137{col 67}{space 3} .0874364
{txt}{space 10}wl {c |}{col 14}{res}{space 2} .0980636{col 26}{space 2} .0551193{col 37}{space 1}    1.78{col 46}{space 3}0.075{col 54}{space 4}-.0099683{col 67}{space 3} .2060954
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}  .669355{col 26}{space 2} .0763478{col 37}{space 1}    8.77{col 46}{space 3}0.000{col 54}{space 4}  .519716{col 67}{space 3}  .818994
{space 2}{txt}{hline 11}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 2}{col 3}p <-      {col 14}{c |}
{space 11}t {c |}{col 14}{res}{space 2} .1661468{col 26}{space 2} .0517961{col 37}{space 1}    3.21{col 46}{space 3}0.001{col 54}{space 4} .0646283{col 67}{space 3} .2676653
{txt}{space 10}wl {c |}{col 14}{res}{space 2} .2970555{col 26}{space 2} .0978126{col 37}{space 1}    3.04{col 46}{space 3}0.002{col 54}{space 4} .1053463{col 67}{space 3} .4887646
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .2677078{col 26}{space 2} .0733164{col 37}{space 1}    3.65{col 46}{space 3}0.000{col 54}{space 4} .1240104{col 67}{space 3} .4114053
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     var(e.d){c |}{col 14}{res}{space 2} .0400763{col 26}{space 2}  .004712{col 54}{space 4} .0318278{col 67}{space 3} .0504626
{txt}     var(e.p){c |}{col 14}{res}{space 2} .0955898{col 26}{space 2} .0145555{col 54}{space 4}  .070925{col 67}{space 3} .1288321
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estat ic

Akaike's information criterion and Bayesian information criterion

{txt}{hline 13}{c TT}{hline 63}
       Model {c |}        Obs  ll(null)  ll(model)      df         AIC        BIC
{hline 13}{c +}{hline 63}
{ralign 12:.}{col 14}{c |}{res}{col 16}       118{col 27}        .{col 38}-171.3637{col 49}     5{col 58} 352.7274{col 69} 366.5808
{txt}{hline 13}{c BT}{hline 63}
{p 15 21 2}
Note: N=Obs used in calculating BIC; see {helpb bic_note:[R] BIC note}.
{p_end}

{com}. estat teffects 
{res}

{txt}Direct effects
{res}{txt}{ralign 78:(Std. Err. adjusted for {res:6} clusters in klassnummer)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}{res}Structural  {col 14}{txt}{c |}
{space 2}{col 3}d <-      {col 14}{c |}
{space 11}p {c |}{col 14}{res}{space 2} .2661396{col 26}{space 2} .0901982{col 37}{space 1}    2.95{col 46}{space 3}0.003{col 54}{space 4} .0893543{col 67}{space 3} .4429249
{txt}{space 11}t {c |}{col 14}{res}{space 2}-.0296386{col 26}{space 2} .0597333{col 37}{space 1}   -0.50{col 46}{space 3}0.620{col 54}{space 4}-.1467137{col 67}{space 3} .0874364
{txt}{space 10}wl {c |}{col 14}{res}{space 2} .0980636{col 26}{space 2} .0551193{col 37}{space 1}    1.78{col 46}{space 3}0.075{col 54}{space 4}-.0099683{col 67}{space 3} .2060954
{space 2}{txt}{hline 11}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 2}{col 3}p <-      {col 14}{c |}
{space 11}t {c |}{col 14}{res}{space 2} .1661468{col 26}{space 2} .0517961{col 37}{space 1}    3.21{col 46}{space 3}0.001{col 54}{space 4} .0646283{col 67}{space 3} .2676653
{txt}{space 10}wl {c |}{col 14}{res}{space 2} .2970555{col 26}{space 2} .0978126{col 37}{space 1}    3.04{col 46}{space 3}0.002{col 54}{space 4} .1053463{col 67}{space 3} .4887646
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


Indirect effects
{res}{txt}{ralign 78:(Std. Err. adjusted for {res:6} clusters in klassnummer)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}{res}Structural  {col 14}{txt}{c |}
{space 2}{col 3}d <-      {col 14}{c |}
{space 11}p {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (no path)
{space 11}t {c |}{col 14}{res}{space 2} .0442182{col 26}{space 2} .0252807{col 37}{space 1}    1.75{col 46}{space 3}0.080{col 54}{space 4}-.0053309{col 67}{space 3} .0937674
{txt}{space 10}wl {c |}{col 14}{res}{space 2} .0790582{col 26}{space 2} .0330819{col 37}{space 1}    2.39{col 46}{space 3}0.017{col 54}{space 4} .0142188{col 67}{space 3} .1438977
{space 2}{txt}{hline 11}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 2}{col 3}p <-      {col 14}{c |}
{space 11}t {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (no path)
{space 10}wl {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (no path)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


Total effects
{res}{txt}{ralign 78:(Std. Err. adjusted for {res:6} clusters in klassnummer)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}{res}Structural  {col 14}{txt}{c |}
{space 2}{col 3}d <-      {col 14}{c |}
{space 11}p {c |}{col 14}{res}{space 2} .2661396{col 26}{space 2} .0901982{col 37}{space 1}    2.95{col 46}{space 3}0.003{col 54}{space 4} .0893543{col 67}{space 3} .4429249
{txt}{space 11}t {c |}{col 14}{res}{space 2} .0145796{col 26}{space 2}  .058591{col 37}{space 1}    0.25{col 46}{space 3}0.803{col 54}{space 4}-.1002566{col 67}{space 3} .1294159
{txt}{space 10}wl {c |}{col 14}{res}{space 2} .1771218{col 26}{space 2} .0806367{col 37}{space 1}    2.20{col 46}{space 3}0.028{col 54}{space 4} .0190769{col 67}{space 3} .3351668
{space 2}{txt}{hline 11}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 2}{col 3}p <-      {col 14}{c |}
{space 11}t {c |}{col 14}{res}{space 2} .1661468{col 26}{space 2} .0517961{col 37}{space 1}    3.21{col 46}{space 3}0.001{col 54}{space 4} .0646283{col 67}{space 3} .2676653
{txt}{space 10}wl {c |}{col 14}{res}{space 2} .2970555{col 26}{space 2} .0978126{col 37}{space 1}    3.04{col 46}{space 3}0.002{col 54}{space 4} .1053463{col 67}{space 3} .4887646
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. *** indirect and direct - winning/losing
. cap program drop indireff
{txt}
{com}. program indireff, rclass
{txt}  1{com}. sem (d <-  t  wl p)(p <-  t  wl)   , vce(cluster klassnummer)
{txt}  2{com}.   estat teffects
{txt}  3{com}.   mat bi = r(indirect)
{txt}  4{com}.   mat bt = r(total)
{txt}  5{com}.   return scalar indir  = el(bi,1,3)
{txt}  6{com}.   return scalar total  = el(bt,1,3)
{txt}  7{com}. end 
{txt}
{com}. 
. set seed 358395
{txt}
{com}. bootstrap r(indir) r(total), reps(1000): indireff
{txt}(running indireff on estimation sample)

Bootstrap replications ({res}1000{txt})
{hline 4}{c +}{hline 3} 1 {hline 3}{c +}{hline 3} 2 {hline 3}{c +}{hline 3} 3 {hline 3}{c +}{hline 3} 4 {hline 3}{c +}{hline 3} 5 
..................................................    50
..................................................   100
..................................................   150
..................................................   200
..................................................   250
..................................................   300
..................................................   350
..................................................   400
..................................................   450
..................................................   500
..................................................   550
..................................................   600
..................................................   650
..................................................   700
..................................................   750
..................................................   800
..................................................   850
..................................................   900
..................................................   950
..................................................  1000
{res}
{txt}Bootstrap results{col 49}Number of obs{col 67}= {res}       118
{txt}{col 49}Replications{col 67}= {res}     1,000
{p2colset 7 17 21 2}{...}

{txt}{p2col :command:}indireff{p_end}
{p2colset 9 17 21 2}{...}
{p2col :_bs_1:}{res:r(indir)}{p_end}
{p2colset 9 17 21 2}{...}
{p2col :_bs_2:}{res:r(total)}{p_end}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}   Observed{col 26}   Bootstrap{col 54}         Norm{col 67}al-based
{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_bs_1 {c |}{col 14}{res}{space 2} .0790582{col 26}{space 2} .0285919{col 37}{space 1}    2.77{col 46}{space 3}0.006{col 54}{space 4} .0230191{col 67}{space 3} .1350974
{txt}{space 7}_bs_2 {c |}{col 14}{res}{space 2} .1771218{col 26}{space 2} .0504967{col 37}{space 1}    3.51{col 46}{space 3}0.000{col 54}{space 4} .0781502{col 67}{space 3} .2760934
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estat bootstrap, percentile bc  

{txt}Bootstrap results{col 49}Number of obs{col 67}= {res}       118
{txt}{col 49}Replications{col 67}= {res}      1000
{p2colset 7 17 21 2}{...}

{txt}{p2col :command:}indireff{p_end}
{p2colset 9 17 21 2}{...}
{p2col :_bs_1:}{res:r(indir)}{p_end}
{p2colset 9 17 21 2}{...}
{p2col :_bs_2:}{res:r(total)}{p_end}

{col 1}{text}{hline 13}{c TT}{hline 12}{hline 11}{hline 13}{hline 12}{hline 10}{hline 6}
{col 14}{text}{c |}    Observed{col 38}    Bootstrap
{col 14}{text}{c |}       Coef.{col 27}       Bias{col 38}    Std. Err.{col 51}  [95% Conf. Interval]
{col 1}{text}{hline 13}{c +}{hline 12}{hline 11}{hline 13}{hline 12}{hline 10}{hline 6}
{col 1}{text}       _bs_1{col 14}{c |}{result}{space 2} .07905823{col 27}{space 2} .0007684{col 38}{space 2} .02859194{col 51}{space 2} .0315703{col 63}{space 1} .1440102{col 73}{text}   (P)
{col 14}{text}{c |}{col 51}{result}{space 2}  .035099{col 63}{space 1} .1482683{col 73}{text}  (BC)
{col 1}{text}       _bs_2{col 14}{c |}{result}{space 2} .17712182{col 27}{space 2} .0025493{col 38}{space 2} .05049665{col 51}{space 2} .0892309{col 63}{space 1}  .281426{col 73}{text}   (P)
{col 14}{text}{c |}{col 51}{result}{space 2} .0890276{col 63}{space 1} .2801385{col 73}{text}  (BC)
{col 1}{text}{hline 13}{c BT}{hline 12}{hline 11}{hline 13}{hline 12}{hline 10}{hline 6}
{col 0}(P){col 8}percentile confidence interval
{col 0}(BC){col 8}bias-corrected confidence interval

{com}. 
. *** indirect and direct - treatment
. cap program drop indireff
{txt}
{com}. program indireff, rclass
{txt}  1{com}. sem (d <- wl  t  p)(p <- wl  t )    , vce(cluster klassnummer)
{txt}  2{com}.   estat teffects
{txt}  3{com}.   mat bi = r(indirect)
{txt}  4{com}.   mat bt = r(total)
{txt}  5{com}.   return scalar indirect  = el(bi,1,3)
{txt}  6{com}.   return scalar total  = el(bt,1,3)
{txt}  7{com}. end
{txt}
{com}. 
. set seed 358395
{txt}
{com}. bootstrap r(indirect) r(total), reps(1000): indireff
{txt}(running indireff on estimation sample)

Bootstrap replications ({res}1000{txt})
{hline 4}{c +}{hline 3} 1 {hline 3}{c +}{hline 3} 2 {hline 3}{c +}{hline 3} 3 {hline 3}{c +}{hline 3} 4 {hline 3}{c +}{hline 3} 5 
..................................................    50
..................................................   100
..................................................   150
..................................................   200
..................................................   250
..................................................   300
..................................................   350
..................................................   400
..................................................   450
..................................................   500
..................................................   550
..................................................   600
..................................................   650
..................................................   700
..................................................   750
..................................................   800
..................................................   850
..................................................   900
..................................................   950
..................................................  1000
{res}
{txt}Bootstrap results{col 49}Number of obs{col 67}= {res}       118
{txt}{col 49}Replications{col 67}= {res}     1,000
{p2colset 7 17 21 2}{...}

{txt}{p2col :command:}indireff{p_end}
{p2colset 9 17 21 2}{...}
{p2col :_bs_1:}{res:r(indirect)}{p_end}
{p2colset 9 17 21 2}{...}
{p2col :_bs_2:}{res:r(total)}{p_end}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}   Observed{col 26}   Bootstrap{col 54}         Norm{col 67}al-based
{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_bs_1 {c |}{col 14}{res}{space 2} .0442182{col 26}{space 2} .0211433{col 37}{space 1}    2.09{col 46}{space 3}0.036{col 54}{space 4} .0027782{col 67}{space 3} .0856583
{txt}{space 7}_bs_2 {c |}{col 14}{res}{space 2} .0145796{col 26}{space 2}  .041654{col 37}{space 1}    0.35{col 46}{space 3}0.726{col 54}{space 4}-.0670607{col 67}{space 3} .0962199
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estat bootstrap, percentile bc  

{txt}Bootstrap results{col 49}Number of obs{col 67}= {res}       118
{txt}{col 49}Replications{col 67}= {res}      1000
{p2colset 7 17 21 2}{...}

{txt}{p2col :command:}indireff{p_end}
{p2colset 9 17 21 2}{...}
{p2col :_bs_1:}{res:r(indirect)}{p_end}
{p2colset 9 17 21 2}{...}
{p2col :_bs_2:}{res:r(total)}{p_end}

{col 1}{text}{hline 13}{c TT}{hline 12}{hline 11}{hline 13}{hline 12}{hline 10}{hline 6}
{col 14}{text}{c |}    Observed{col 38}    Bootstrap
{col 14}{text}{c |}       Coef.{col 27}       Bias{col 38}    Std. Err.{col 51}  [95% Conf. Interval]
{col 1}{text}{hline 13}{c +}{hline 12}{hline 11}{hline 13}{hline 12}{hline 10}{hline 6}
{col 1}{text}       _bs_1{col 14}{c |}{result}{space 2} .04421825{col 27}{space 2} 3.46e-06{col 38}{space 2} .02114328{col 51}{space 2} .0071872{col 63}{space 1}  .089148{col 73}{text}   (P)
{col 14}{text}{c |}{col 51}{result}{space 2} .0096792{col 63}{space 1} .0926151{col 73}{text}  (BC)
{col 1}{text}       _bs_2{col 14}{c |}{result}{space 2} .01457962{col 27}{space 2}-.0000428{col 38}{space 2} .04165398{col 51}{space 2}-.0717848{col 63}{space 1} .0946703{col 73}{text}   (P)
{col 14}{text}{c |}{col 51}{result}{space 2}  -.07399{col 63}{space 1} .0909676{col 73}{text}  (BC)
{col 1}{text}{hline 13}{c BT}{hline 12}{hline 11}{hline 13}{hline 12}{hline 10}{hline 6}
{col 0}(P){col 8}percentile confidence interval
{col 0}(BC){col 8}bias-corrected confidence interval

{com}. 
. *** randomization check
. reg  t  gender interest ideology , robust

{txt}Linear regression                               Number of obs     = {res}       116
                                                {txt}F(3, 112)         =  {res}     0.46
                                                {txt}Prob > F          = {res}    0.7108
                                                {txt}R-squared         = {res}    0.0139
                                                {txt}Root MSE          =    {res} .50047

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}           t{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}gender {c |}{col 14}{res}{space 2}-.0281227{col 26}{space 2} .0937247{col 37}{space 1}   -0.30{col 46}{space 3}0.765{col 54}{space 4}-.2138263{col 67}{space 3} .1575808
{txt}{space 4}interest {c |}{col 14}{res}{space 2} .0953043{col 26}{space 2} .1684245{col 37}{space 1}    0.57{col 46}{space 3}0.573{col 54}{space 4}-.2384072{col 67}{space 3} .4290157
{txt}{space 4}ideology {c |}{col 14}{res}{space 2} .2142856{col 26}{space 2} .2304765{col 37}{space 1}    0.93{col 46}{space 3}0.354{col 54}{space 4}-.2423741{col 67}{space 3} .6709453
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .3533512{col 26}{space 2} .2263297{col 37}{space 1}    1.56{col 46}{space 3}0.121{col 54}{space 4} -.095092{col 67}{space 3} .8017944
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/xpmiki/Dropbox/esaiasson/replicationData/e16.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res} 9 Sep 2016, 11:29:42
{txt}{.-}
{smcl}
{txt}{sf}{ul off}